/**
 * 
 */
package com.security.core.validate.code.image;

import java.awt.image.BufferedImage;
import java.time.LocalDateTime;

import com.security.core.validate.code.ValidateCode;

/**
 * @title ImageCode
 * @version 1.0.0
 * @description 
 * @author liukang
 * @date 2019年5月15日
 */
public class ImageCode extends ValidateCode{

	private BufferedImage image;
	
	public ImageCode(BufferedImage image, String code, int expireIn) {
		super(code, expireIn);
		this.image = image;
	}
	
	public ImageCode(BufferedImage image, String code, LocalDateTime expireTime) {
		super(code, expireTime);
		this.image = image;
	}

	public BufferedImage getImage() {
		return image;
	}

	public void setImage(BufferedImage image) {
		this.image = image;
	}

}
